import axios from "axios";

export function getList(params: { wd: string, type: string }) {
	return axios.get('/api/list', { params })
}


export function deleteList(id: string) {
	return axios.delete('/api/list/' + id)
}